package com.example.luachtable;

import androidx.appcompat.app.AppCompatActivity;

import android.content.ComponentName;
import android.content.Intent;
import android.os.Bundle;
import android.widget.Toast;

public class FuPing extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_fu_ping);

        Intent intent4=getIntent();
       int pos= intent4.getIntExtra("pos",0  );

       switch (pos){
           case 0:




           case 1:

               Toast.makeText(FuPing.this, "用户中心", Toast.LENGTH_SHORT).show();
               break;

           case 2:
               Intent intent2 = new Intent(FuPing.this, Carmessage.class);

               startActivity(intent2);
               Toast.makeText(FuPing.this, "轮播车辆信息", Toast.LENGTH_SHORT).show();

               break;
           case 3:
               Intent intent3 = new Intent(FuPing.this, MediaMusic.class);

               startActivity(intent3);
               Toast.makeText(FuPing.this, "音视频", Toast.LENGTH_SHORT).show();

               break;
       }
    }
}